package typejump.engine;

import typejump.TypeJump;

/**
 * Represents a recurring process that can be added to the GameEngine to be
 * executed once each frame.
 * @author g
 *
 */
public interface OnGoingThing {

	/**
	 * Something happens.
	 * @param tj
	 * @param seconds
	 * @return Returns true if this thing is done happening and should stop be deleted.
	 */
	public boolean happen(TypeJump tj, double seconds);
}
